home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 37
/
Aminet 37 (2000)(Schatztruhe)[!][Jun 2000].iso
/
Aminet
/
dev
/
misc
/
FD2Pragma.lha
/
FD2Pragma
/
Scripts
/
MakeStuff
< prev
next >
Wrap
AmigaDOS Script File
|
2000-04-01
|
1KB
|
41 lines
.key FDFILE/A,CLIBFILE/A,DEST/A
.bra {
.ket }
; $VER: MakeStuff 1.2 (12.01.1999)
; script to create all the needed library stuff with FD2Pragma
; DEST must already exist and should be empty.
FailAt 21
; ************** Copy the fd to destination directory *******************
MakeDir >NIL: {DEST}fd
Copy {FDFILE} {DEST}fd QUIET
; ********************** This is the C part *****************************
MakeDir >NIL: {DEST}C
MakeDir >NIL: {DEST}C/clib
MakeDir >NIL: {DEST}C/pragma
MakeDir >NIL: {DEST}C/proto
MakeDir >NIL: {DEST}C/inline
Copy {CLIBFILE} {DEST}C/clib QUIET
FD2Pragma {FDFILE} TO {DEST}C/pragma/
FD2Pragma {FDFILE} SPECIAL 35 TO {DEST}C/proto/
FD2Pragma {FDFILE} CLIB {CLIBFILE} SPECIAL 40 TO {DEST}C/inline/
; ****************** This is the Assembler part *************************
MakeDir >NIL: {DEST}ASM
MakeDir >NIL: {DEST}ASM/lvo
FD2Pragma {FDFILE} SPECIAL 23 TO {DEST}ASM/lvo/
; ******** This generates a link library for C and Assembler ************
MakeDir >NIL: {DEST}lib
FD2Pragma {FDFILE} CLIB {CLIBFILE} SPECIAL 12 TO {DEST}lib/
; **************************** other stuff ******************************
; nothing more needed :-)
FailAt 10